@extends('base')
@section('title', 'article.title')
@section('csses')
@endsection
@section('content')
<div class="row">
	<div class="col-md-3">
		<div class="search_left">
			<div class="search_left_head">Search For</div>
			<div class="search_left_content">
				<p>{{ $keywords }}</p>
			</div>
			<div class="search_left_head">Journals</div>
			<div class="search_left_content">
				<p>Zoological Research({{$articles->total()}})</p>
			</div>
		</div>
	</div>
	<div class="col-md-9">
		<div class="search_right">

			<div class="sec" style="margin-bottom: 10px;">
			    <input id="main-check" type="checkbox" >
			    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			    Selected:<img src="{{asset('images/sele_abs.gif')}}"><a class="view_abstract" href="#">View Abstracts</a>
			    <div id="ref-export" class="dc-con" data-e-url="{{ route('article.export_refs') }}">
			      <img src="{{asset('images/sele_down.jpg')}}"><span>Download Citations</span>
			      <dl>
			        <a href="#" data-type="endnote">EndNote</a>
			        <a href="#" data-type="reference_manager">Reference Manager</a>
			        <a href="#" data-type="procite">ProCite</a>
			        <a href="#" data-type="bibtex">BibTeX</a>
			        <a href="#" data-type="refworks">RefWorks</a>
			      </dl>
			    </div>
			    <img src="{{asset('images/sele_pic1.png')}}"><a class="togle_pic" href="#">Toggle Thumbnails</a>
			</div>
			<div style="margin-left:10px;">
				@foreach($articles as $article)
					@include('sections.article', ['article' => $article])
				@endforeach
			</div>
			{{ $articles->appends(['keywords' => $keywords])->links() }}
		</div>
	</div>
</div>
@endsection